﻿@model Projectmanagement.Models._Edm
<fieldset>
    <legend>EDM</legend>
    <table class="noline" style="line-height: 30px; border:1px solid #eee; margin-top:10px;">
        <tr><td colspan="8" style="height:10px;"></td></tr>
        <tr>
            <td align="right">
                @Html.LabelFor(x => x.CompanyName):
            </td>
            <td>
                @Html.TextBoxFor(x => x.CompanyName, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.CompanyName)
            </td>
            <td align="right">
                @Html.LabelFor(x => x.Quote):
            </td>
            <td>
                @Html.Telerik().CurrencyTextBox().Name("Quote").Value(0).InputHtmlAttributes(new { style = "width: 165px" })<br />
                @Html.ValidationMessageFor(x => x.Quote)
            </td>
            <td colspan="4">&nbsp;</td>
        </tr>
        <tr><td colspan="8" style="height:10px;"></td></tr>
        <tr style="line-height: 1px; background:#f1f1f1">
            <td colspan="8">
                <p style="font-weight: bolder">
                    联系人</p>
            </td>
        </tr>
        <tr><td colspan="8" style="height:10px;"></td></tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.ContactName):
            </td>
            <td>
                @Html.TextBoxFor(x => x.ContactName, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.ContactName)
            </td>
            <td align="right">@Html.LabelFor(x => x.ContaceMobile):
            </td>
            <td>
                @Html.TextBoxFor(x => x.ContaceMobile, new { style = "width:165px;" })<br />
                @Html.ValidationMessageFor(x => x.ContaceMobile)
            </td>
            <td colspan="4">&nbsp;</td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.ContactTitle):
            </td>
            <td>
                @Html.TextBoxFor(x => x.ContactTitle, new { style = "width:165px;" })<br />
            </td>
            <td align="right">@Html.LabelFor(x => x.Superior):
            </td>
            <td>
                @Html.TextBoxFor(x => x.Superior, new { style = "width:165px;" })<br />
            </td>
            <td colspan="4">&nbsp;</td>
        </tr>
        <tr>
            <td align="right">@Html.LabelFor(x => x.Comment):
            </td>
            <td colspan="7">
                @Html.TextAreaFor(x => x.Comment, new { style = "width:95.6%" })<br />
                @Html.ValidationMessageFor(x => x.Comment)
            </td>
        </tr>
    </table>
</fieldset>
<style>
    .noline
    {
        width: 100%;
    }
    .noline, .noline tr, .noline td
    {
        border: 0;
        padding: 2px;
    }
</style>
